package com.jinhua.admin.vo;
import com.jinhua.admin.entity.OrderPo;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 订单表
*/
@Data
@NoArgsConstructor
public class OrderVo {
    
    /**
    *订单表的Id,修改或者查询的需要
    *
    */
    
    private Long id;
    
    /**
    *用户名
    *
    */
    
    private String name;
    
    /**
    *商品名称
    *
    */
    
    private String goodsName;
    public OrderPo copyOrderPo() {
        OrderPo  po=new OrderPo();
        org.springframework.beans.BeanUtils.copyProperties(this, po);
        return po;
    }
}
